package com.shumm.service;

import com.shumm.common.Result;
import com.shumm.po.ClassicFormula;
import org.springframework.stereotype.Service;

@Service("cfService")
public interface ClassicFormulaService {
    Result add(ClassicFormula cf);

    Result delete(int id);

    Result update(ClassicFormula cf);

    Result selectById(int id);

    Result selectAll();

    Result selectByName(String name);

    Result selectByAlias(String alias);

    Result selectByChineseMedicine(String cm);

    Result selectComById(int id);
}
